<?php
$id_obat=$_GET['id'];
echo"<script>alert('$id_obat')</script>";
$query="delete from tbobat where id_obat='$id_obat'";
	$delete=dbQuery($query);
	if($delete){
?>
	<tr><td colspan="3">&nbsp;</td></tr>
	<tr><td colspan="3" class="judul">&#187 Konfirmasi Delete Data Obat</td></tr>
	<tr><td colspan="3" class="jarak_garis"><hr color="#6d6a69"></hr></td></tr>
	<tr><td colspan="3" class="suskes" align="center">Selamat Anda Sukses delete data Obat</td></tr>
	
	<tr><td colspan="3">&nbsp;</td></tr>
	<tr><td colspan="3">&nbsp;</td></tr>
<?php }else{
?>
<tr><td colspan="3">&nbsp;</td></tr>
	<tr><td colspan="3" class="judul">&#187 Konfirmasi Input Data Obat</td></tr>
	<tr><td colspan="3" class="jarak_garis"><hr color="#6d6a69"></hr></td></tr>
	<tr><td colspan="3" class="suskes" align="center">Maaf Anda Gagal inputkan Data,coba ulangi verifikasi data yang anda inputkan</td></tr>
	<tr><td colspan="3"><a href="index_admin.php?index=input_obat&cryption=<?php print $random."upn".$santra.$encode?>"></td></tr>
	<tr><td colspan="3">&nbsp;</td></tr>
	<tr><td colspan="3">&nbsp;</td></tr>
<?php }


?>